{  Statement: http://acmp.ru/?main=task&id_task=149
   Verdict: Accepted
}
uses
    SysUtils, Math;

var
    i,n:longint;
    a:array[0..1010] of longint;

begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(n);
for i:=1 to n do
    read(a[i]);
for i:=n downto 1 do
    write(a[i],' ');
end.